package team.knowers.qzhserver.course.course.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课程发布参数
 * @author zcb
 * @date 2024/3/7 14:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "课程发布参数")
public class CourseReleaseDTO {
    //课程id
    @Schema(name = "id",description = "课程id")
    private String id;
    //用户id
    @Schema(name = "uid",description = "用户id")
    private String uid;
    //售价
    @Schema(name = "price",description = "售价")
    private Double price;
    //是否允许试看
    @Schema(name = "trySee",description = "是否允许试看")
    private Boolean trySee;
}
